Yes absolutely you can roast potatoes and squash together. To make sure they cook through evenly, cut them to a similar size. You can even make the squash cubes slightly bigger than the potatoes because they cook a bit faster. I also don't stir or flip them while oven roasting so that the squash pieces don't get mushed up.