Confidential Computing is a way in which cloud providers let their customers encrypt data “in-use” - that might be what you’re looking for.
I’ve enjoyed building on nitro myself and most things should run in it just fine, just need to build the networking vsock proxy into the nitro image for anything that needs networking (such as DB, where you store the encrypted at rest data).