check facebook marketplace and buy a used mower with a bad deck or bad tranny and good running engine you can see and hear run, then take the engine off of it. you can find quite a few of them for $100-$150 and they can often have extra spare parts you need like tires and seats
hardest part on engine swap is getting the crank pulley off, it needs an impact to remove it since it rotates and you cant hold it to unscrew it
as for fixing yours, its possible if nothing broke through the block but often when a rod breaks it beats the hell out of the crank journals so unless im bored and very curious if its the 1 in 10 that can be saved, i dont even waste my time opening them up when a rod has become disconnected, its cheaper to buy a parts mower and have a working engine for $100 average vs spending hundreds repairing a motor and maybe have it fail again