Yes, I could make a shaft, which is something like this:
instead of the nut I can actually weld the cog to the 10mm shaft.... this way the only thing to do is to ensure that it will stay aligned with the motor and that it will be capable of transmitting the power...