Yes, you can! However, you may need to reset iMessage after installing your eSIM by following the steps advised on this article.