I have one DD who is 7, so she is in school now. I have my own business and most of what I do is done at home unless I am teaching out of town or meeting with a client.
It's not always easy, but it is doable.
You have to set CLEAR boundaries with your kid(s) from the start. Mine is old enough to tell time and I can tell her for the next 1.5 hours mommy HAS to work. She's pretty good about leaving me alone. I'll hang w/ her for a while, then I'll work for another block of time.
I think for moms w/ more than one kids that are old enough to be independent
for periods of time, they can play together. You would think that having just one child would make working at home easier, but in some ways it can be more of a challenge because when she's home with me I'm the one who's her playmate unless she's at a camp or w/ friends.
I never work a full 8-hour day from home, which is a good thing! I've set up my business as such that I don't need a full 8-hour day to survive financially. Once I get to a certain point, I'll subcontract so that way I can still have the time I need but still do well.
A fellow business owner I know will have sitters come over at regular intervals so she can get her priority things done.
I also will wait until DD goes to bed (usually by 8:30) and get projects completed.
That's a lot of random stuff, but hopefully helps you! It is definitely not all roses working from home, but I wouldn't trade it for the world. I was home this summer and the weeks I spend w/ DD were great - we got to do all sorts of fun stuff. Her grandpa paid for several weeks of summer camp, as it's such a valuable experience and didn't want to deprive her of that.
You also have to be highly motivated, something which is sometimes a challenge for me. Right now, there are things I SHOULD be doing but I'm on the Dis!!!! But I'm also "not on the clock" so no one is looking over my shoulder, I am the one who has to hold myself accountable!!!