Yes, you can cook hot dogs in the oven at 400°F for about 15 minutes, turning halfway through to ensure even cooking.