Creating a new site in another Frappe bench from its UI involves server-side scripting

Can we create a fraape bench and I have created a bench and created a doctype and it has a cause field XYZ, and there is a custom button when I click on that button a new site gets created in the bench, :- how?create a site in another bench from its UI ,

example : A bench inside on doctype and some field one button create site
click on the button and create site in another bench dir like site and inside test.site create in this bench