I don't really see a problem with it unless you don't give her an opportunity to exercise at all, or are not making sure that she is secure in the basket.
If you're going slow anyways, maybe letting her run alongside your bike until she tires would be an idea? Then put her in the basket after.