There is no specific breed called a "bag dog." However, very small breeds such as Chihuahuas, Yorkshire Terriers, Pomeranians, Maltese, and some Pugs may fit into bags depending on the dog's size and the bag's dimensions.
Putting a dog in a bag is not always safe or comfortable. Proper ventilation, space, and the dog's well-being must come first. A carrier designed for small dogs is a better choice.