Is it possible to create a hardware ‘Plug and Play’ TOR proxy?

Is there a way to use a device like a raspberrypi to create a kind of ‘Plug and Play’ TOR proxy?

Ideally, a device would exist with an ethernet port as input and ethernet cable or USB as output which can be plugged into a laptop or PC without any further configuration on the client PC.

The device should then automatically act like a proxy, directing all network traffic through TOR.

Note that I am not asking for a proxy which would then need to be configured on the client system (i.e. in the proxy settings of the browser) but a hardware device that guarantees that no traffic from the client system can go through the clearnet as long as it’s connected in the middle between the client system and the router.

Is this possible and if it is, are there any apparent security concerns with this approach?