Convert Affiliate balance to Pro Sites upgrade

Hello,

Can I setup this below idea?

I would like to setup a coice for users that they can convert his/her Affiliate balance to upgrade ProSites status.

Thanks!
John