Nearly all hot dogs come precooked, so the major steps required in the cooking process are heating them to an appetizing temperature and charring the outside as dark as you desire. This can easily be done on a charcoal or propane grill, but you can still achieve the texture and taste you are looking for without using a grill. Investing in a grill pan will allow you to cook hot dogs will the same char and grill lines you would normally expect from an outdoor grill.
Boil a pot of water on the stove, and drop the hot dogs in the water once the water is boiling. This will heat the hot dogs through, and will allow you to cook a number of hot dogs at once. The hot dogs will be fully heated through once the ends begin to split open.
Preheat a grill pan on the stove top as the hot dogs are heating. The grill pan simulates a traditional outdoor grill, as it has raised ridges that can give the hot dogs grill lines. Heat the the grill pan to extremely high heat so the hot dogs do not stick to the pan. You can coat the grill pan with cooking spray before heating.
Place the hot dogs on the hot grill pan. Use a tongs to handle the hot dogs so you do not puncture the hot dog and let the juices out. Allow the ridges in the grill pan to sear the hot dogs to your liking; then flip the hot dogs over and sear on the other side until done.