Toroidal transformer, or E-I core transformer?
Toroidal transformer is totally doable, but without a specialized machine will require A LOT of patience as the the entire length of the winding needs to be passed through the core of the toroid every single turn.
E-I core can be much easier IF the core can be disassembled so you can remove the bobin from the core. Some transformers the laminations are welded together, but others are held by a crimped outer shell or even nuts and bolts. Almost all are dipped in varnish which will tends to stick the laminations together.
So yes, totally doable, but depending on the specific construction of the transformer can range from a fairly easy task to a complete nightmare.
If you can free the bobin from the core, you can rig something up to a variable speed drill to accelerate the winding process.