I would try to keep anything Bitcoin related, separated from anything else that you're hosting but yeas you could. And I would also try to keep the server off of your daily driver.
The way I have it working for me is I have it running on a Raspberry Pi at home. It's not reachable outside of my home network because I figure I'm not going to be making a lot of accounts while I'm out and about. Both bitwarden and vaultwarden work in a read-only mode when not connected to the server. And if you do happen to make a new account somewhere, it doesn't really matter which device you're on, but everything will sync up once you get back home and connect to your local server.