That’s the only way. I don’t think there’s any other solution that would allow for you being able to be sure that the instance you are on doesn’t have a way to acess your data - any other e2e encryption integrated into Lemmy UI would not and cannot be reliable, because an admin can just rewrite the code as he sees fit.
Only solution to this is to just encrypt the message manually before it touches anything Lemmy UI.