Is it safe to eat cooked hot dogs?

Is it safe to eat a hot dog that’s been grilled?