Yes, routers with varying capabilities and abilities can affect the speeds. For example, a Wi-Fi 6 router rated at AX3000 will perform miles better than the one with Wi-Fi 5 standard and AC1200 rating.