Several issues apply to use of Motorcycle parts...
1.) You will always need a record of the bike it came from for availability of replacement parts at a later date. Which might not always be easy to find.
2.) Dependent upon year and model of the motorcycle parts availability may be less than convenient.
3.) Replacement parts for motorcyle brakes will likely exceed costs of aftermarket cart brake parts.
Considering fabrication time to fit to application, and potential costs in the long run, if you can find them, it's simply easier to run a cart brake and be done with it. While they will work, and they may be free at this point, they may not present your best option.