Yes, as a side dish, you can usually swap grits and mashed potatoes and vice versa. They both serve the same purpose as a side dish.