There's plenty of barebone PCs/servers optimized for building custom Linux/BSD based routers, VPN servers or firewalls and in general various L3 devices. However I couldn't really find anything about L2 devices with hardware switch ASICs. While I know it's possible to just use bridging it's not really practical solution.
Are there available some devices with built-in hardware switch chips that are optimized for running Linux distros like pfSense or WRT derivatives using
switchdev driver to build managed switch?