Anything that’s smooth, solid, and having an opaque color (so not a window) can be used as a target surface. If you do need to measure to a window, place a bit of tape onto the window to target. Though you can purchase specific target surfaces for those situations.
As long as the surface isn’t transparent, it should work fine.