Not sure why someone would want to.
Steam Deck is specifically for gaming. You "could" since it's a Linux.
But with $800, I would rather buy a SteamDeck for dedicated gaming, and a cheap Linux Thinkpad for dedicated laptop use. Rather than one single system that half asses both.