They make angled stand-offs (stanchions?)that allows you to hang a flag darn near anywhere.
I use one on the front of my house with a 4 foot wood pole and a bungee to anchor the bottom.

Now my father-in-law went the full kit with a 30 foot flag pole, lights and landscaping.