Yes, an e-collar can be useful in the house for eliminating behaviors like getting up on counters or rummaging in the garbage. You can either train the dog to obey the command “get down” or whatever, or you can stay silent and deliver stimulation so the dog learns to associate the counter with an unpleasant feeling.