Yes, this is how I learned programming Basic, assembly, Turbo Pascal (CP/M) and C on Pravetz 82M and 16. It was fun time. Some models of Pravetz 16 had a NEC CPU clone that was running substantially faster, if my memory serves me well 12 MHz vs 4 MHz for the Intel.
They were widely available in the education system and there were optional classes to learn programming.
Edit: I forgot the Pravetz 8D a friend had - they were available for purchase fro individuals. It had 4 channel audio synth and I programmed on it a drum-box for my teen rock band.