
It will only7 work if there is no outside stimulus for them to bark at, as then you will have neighbour problems. Whether a dog is outside on it's own or inside makes little difference, other than him being able to releive himself.
If you live in a built up area, you may get the dog barking at every neighbour going about their business etc.
I have a double kennel that my dogs sleeep in with a big run which only gets used for Puyppies, as if I left my dogs out then they would bark at the neigbours, especially the Summer Barbeques, the Gardeners etc. So they stay in the kitchen with the radio on when I am not there, which isn't often.
I think a bored lonely dog could well become a noise nuisance, very much depends on the dog, but you won't know that until it happens, so you need to have an alternative indoor plan!