I once when money was short tried to repair my washing machine, I found some one who repairs them, with premises, so after that point it was load it into car and take it for repair.
It seems talking to the guy often diagnoses is by replacement, they try a part if it works then it was that part. Most washing machines used a brushed motor, if the brushes have the plastic plunger and spring then when they reach the limit, the plunger and spring lifts the brush clear of the commutator and no damage it done, if not arcing often means it as least needs a skim on a lathe, newer machines use a three phase motor and an inverter supply, and inverters can be damaged if run without the motor, so often need changing as a pair.
Much depends on the new price of the machine, if expensive then likely worth getting repaired, but if cheap often repair cost exceeds the cost of new, as most repairers seem to run out of a van, so you are paying a call out fee, same with fridges and freezers, so looking at £70 before he does anything, it often includes the first hour, but unless you can find a repairer who has a base so you can take it to him, repair costs often exceed the cost of cheaper machines.
Also there is the parts, years ago I could buy local, but internet killed those shops, so you have to buy blind, no longer can you go to the shop and say I want one of these.