I'm 12 weeks pregnant and I have brown spotting. No cramping just brown blood. I haven't had sex. Could I be having a miscarriage?

Possibly. These symptoms can only be adequately addressed by your doctor in real-time (face-to-face). Only after a thorogh evaluation, possibly including labs and other studies, can he/she determine what's wrong and what to do about it.