How to add x y z layer map in tom tom sdk

Is it possible to add x y z layer tile map (Custom map from different source) in tom tom sdk

Yes, you can add external source of tiles. It need to be defined in a custom style.
Documentation: https://developer.tomtom.com/maps-api/maps-api-documentation/map-style-specification#source-properties

Actually I have the x y z layer url, How I display this url in the sdk

You need to create a custom style with your URL in sources and a layer using this source.
I can’t find for now any example for this.