Do you have an example of one that you know won't run? Effectively all the routers should be flashable unless I'm mistaken and any of them that include GPLv3 or LGPLv3 software must allow it to be custom flashable due to the anti-tivoisation clause.
FCC prohibits you from intentionally flashing custom firmware with the intent to broadcast illegally. You aren't banned from flashing and there's a very vibrant openWRT and DD-WRT community.
When I was shopping for things a while back, the impression I got from the OpenWRT forums was that a lot of it is using older versions of OpenWRT with proprietary SDKs from silicon/platform vendors and it's not really upstreamable.