If a custom rom can’t support it, that’s more about the custom rom than Samsung here. They will almost certainly open source the kernel driver part, and any user library could be copied from the stock rom if absolutely necessary. If a rom developer doesn’t want to do that, well that can’t be reasonably pinned on Samsung.
If it’s anything like ChromeOS, it’ll be a VM where you can do whatever you want, within that VM.