A Raspberry Pi is the perfect playground to get started with self-hosting. It is cheap and barely takes up any physical space.
Pi-Hole and bitwarden are simple enough applications that you can host both of them on a pi. Plus there are plenty of guides available online to guide you thru the process if you do get stuck.
I got started with self-hosting pi-hole on a raspberry pi myself.