Yes, you can respec in Baldur's Gate 3. You need to speak to Withers, and it costs 100 gp to do so.