Windows 10 2022 Update Version 22h2

I want to use Ubuntu Server for learning purposes. Of course I won't buy a server for that so I wonder if I can install it on a laptop and then connect to it through local network or ssh. Is that possible?