Yes. I recommend slicing the squash in half and roasting the flesh side down. Cooking times will vary based on the size of the spaghetti squash but it should take about 30-50 minutes in a 400-degree F oven.