I just did that when the whole lockdown happened - built a myself a AMD 3970x workstation. It's so good I do not want to go back to work laptop in the office.
I now unplug my computer when I'm done, which is kind of annoying.
I'd say heat is not a concern, but noise can be. It takes some time to figure out good fan curves to balance cpu temp vs noise. There may be some companies who do pre-built and well configured machines, but I haven't researched that at all.