

Yes. I have a 4gb Pi 4 and self-host a Wordpress website, Bookstack, Trilium, Syncthing server and a server to serve images and a couple of other apps which are all internet available through a Cloudflare tunnel. Far from struggling (though admittedly nothing is processor intensive).
Have you been listening to and analysing the lyrics of mid-1970s Pink Floyd? If not then that could be your next move.