Yes, it is possible and beneficial to do both cardio and weight training in the same day. Doing cardio after weight training can help build endurance while losing weight. While muscles need recovery time, doing cardio or a few extra reps does not provide significantly more muscle stress than weight training alone. All exercises should be done in moderation to avoid overdoing it.