Tripp Lite has an elegant vertical, low-profile, 3U wall-mounted enclosure that fits over existing structured wiring panels, which can accommodate both rack-mountable gear and odd-sized items like modems and access points. Price is ~$500, comparable to 12U wall-mountable racks that ship fully assembled.
SRWF6UMOD specs, https://www.tripplite.com/smartrack-3u-low-profile-vertical-...
video review (2020) https://www.youtube.com/watch?v=6XcYbr0L4WY
It might be possible to build a low-cost DIY clone, with 1/4" pegboard for the odd-sized items and a StarTech vertical frame for the rack gear. Hammond perforated metal panels (1/8" holes for self-tapping screws) could also be repurposed, https://www.hammfg.com/electrical/products/accessories/appp
For comparison, there are structured wiring product lines from Leviton, https://www.leviton.com/en/products/residential/networking/s... and Legrand, https://www.legrand.us/solutions/structured-wiring, but they don't typically support a mixture of home and rack kit.