RouterOS working like a switch

Hello, I need to connect some PCs to some interfaces of a Mikrotik Router.

I know how to create a DHCP Server. Is there a way to assign those pcs an automatic IP using a DHCP server?

For example. Port 1 is the interface that the Internet router is connected to (Example: 10.0.0.1) and the other ports are for PCS in another subnet (192.168.0.0/24) that get assigned an automatic IP and all traffic is redirected from one subnet to the other.

Hope I explained clearly :blush:

Thanks in advance for the help.