Yes, you can use a dog bike trailer instead of a bike basket. Bike trailers are a great option for larger dogs or for those who prefer to ride in a more enclosed space. However, it's important to note that trailers can be more cumbersome to maneuver and may require more effort to tow.