Can I change my hub so I can put disc brakes on the bike
We have to assume, as you haven't provided a photo, that the frame has the attachment points for disc brakes already -- certain bikes have a provision for rim and disc brakes and yours could be one of them.
It is unlikely that you will find a disc - compatible hub with the same &quot;flange&quot; dimesions as your current ones. This is where the spokes are hooked into the hub, if you don't already know.
Therefore you will need to calculate the correct spoke length for the new hub and order the correct length spokes in order to build the wheel. It is very easy, and often quite cheap, just to buy a complete disc compatible rear wheel either new or used, unless you want the experience of wheelbuilding.