Could weight lifting or running/bicycling make an ankle sprain worse?

Yes! If the sprain is not healed, yes. Particularly lower extremity weight training and running. Cycling can be an effective adjunct exercise for sprained ankles! Ask your doctor!