Most likely not unless it is an older Bosch gen1 battery, the bms has command protocols so if a newer pack, I don't think it would work.
If the bms was swapped out for a generic one then it should work ok with any other 36v China kit whether hub or mid drive.