An Adaptable Approach to Learn Realistic Legged Locomotion without Examples