Yes, you can. Add extra sweet Italian basil to make up for the stronger flavors of Thai basil when substituting.