Is there a way that I can spawn a prefab with a custom button made in the editor, Thanks!

Create a script with a public function with the line Instantiate(Prefab, vector3, quaternion.identity );

then create an empty GameObject with your script attached. Next go to your button and assign the onclick event by finding the gameobject you just attached your new script to and adding the public function to be ran when the button is clicked.