When doing ghusl, is it okay if I wash the front private part twice as in when washing right side I wash it and when doing left side I wash it again

Yes it’s ok