Well, for starters, if you build it you can have whatever aesthetic you want. In the process, you’ll learn how all the pieces fit together and will be in a better position to perform your own repairs. You also get warranty terms of 3 or more years on the individual parts.
With an OEM Prebuilt, you’re usually limited to a one year warranty (in the US). Not all “office desktops” consist entirely of proprietary parts. Lenovo and Dell publish their service manuals, so you should be able to see if a system you are considering uses a standard ATX Power Supply (for example). Depending on your performance target, some RTX3050 cards will run entirely off of the 75W provided through the PCI slot. They’ll also have “office PCs” with graphics cards in them, meaning they’re technically fit for playing games even though they’re bot marketed as such. Ultimately, “Gamer” aesthetic is really just part of “Gamer” marketing.