Mostr Bridge

Hey I'm back with another question. Was toying around on Activity Pub and got a username at my domain to redirect to my Mostr account (so searching for username@domain leads to key@mostr). Would it be possible to do something like that where a username could actually be proxied to a different domain.

Dunno if it could be with some sort of reverse proxy, a couple of static files on a site, or even potentially integrated a copy of the bridge? Or none of the above? If it was doable figures it could be a cool way around all the servers that blocked the Mostr domain, ones that freak out at long usernames, and the longer key based usernames. But no idea if it was so figured I'd ask.

Credit to the guy who figured out aliases
https://blog.maartenballiauw.be/post/2022/11/05/mastodon-own-donain-without-hosting-server.html

Thanks!