Is it possible to change default template layout in ERPNext?

Hello @Muhammad_ahsan
Refer to this link:

and:

But this only to change the ERPNext template and not the doctype form shape.
Have you tried to build pages in ERPNext?
Regards
Bilal