Yes, the Raspberry Pi can be used as a router. You would need to install the Raspbian operating system and configure the network settings. The Raspberry Pi has two Ethernet ports, so you could connect one to your modem and the other to your computer or home network. Once you have configured the network settings, you can use the Raspberry Pi as a router to share your internet connection with other devices on your network.