Yes, you can train your model in libtorch and @krshrimali has published some blog posts with examples in this post.
libtorch