From nationalmerit.org:

“Yes, but the test must be administered at a local high school or approved location. Contact the principal or guidance counselor well in advance of the test day to make arrangements to take the PSAT/NMSQT at that school.”