yes rail track includes a swept path analysis. It is available from Application add-ins. You can create your own vehicules from shapes (at least 3: front middle rear) and bogies and articulations points. Then you can create the 2D enveloppe or the 3D meshes along an alignment. It uses profile and cant if available.
Best Regards
JPLN