Of course, It can be done by turning your laptop or your smartphone's WiFi into a portable WiFi hotspot. However, there might be some coverage issues than a standalone router. In other words, consider it as a temporary solution.  So if you want to use a hotspot as a WiFi router in your apartment, you need to create a WiFi hotspot (Wi-Fi tethering) on your mobile or laptop.  Note: It is not required you to use any hotspot service as most smartphones are packed with this feature.