For example, if I draw all graphics to a 256x256 framebuffer, and then scale everything 2x or 3x so that it fits into a 512x512 or 768x768 window. Is that allowed?
yes, that's allowed. Actually, I plan to release a small template with that functionality already implemented.