I highly recommend freesmlauncher, it’s a fork of prism launcher that doesn’t make you sign in.
You can then set up a Java server and in server.properties, set “online-mode” to false, that makes it so unverified accounts can join.
The only thing to note is that no skins will be present if you do this. There might be a mod that helps, but idk