My advice. Try to join a neighbourhood sport club ( with basketball court , of course). They are no so expensive an d yuo´ll make friends in addition. There old sport clubs all over the city.
Here those in Palermo. Change the neighborhood for other options...