I came across this interesting bit about multiple Mastodon-instances on a single server, howbeit, it's from 2018 and there have been a lot of changes since then.
The author wanted to run two instances off the same base code, different databases, re-using as much existing infrastructure as it could, essentially, and appears to have done so.
I don't know why anyone, other than wanting to migrate their instance to a new one, would do this, but here it is. #MastoAdmin