The answer depends on one's perspective, though. But for me, the answer is no.
It is never right to build a basketball court just because there are basketball fans while there are no hospital for sick people. If there is budget, put those priorities first. Take care for your co-human beings, treat them, and let them heal. Basketball courts can wait if there are still money left from the budget. Health must always come first and also, health is wealth.
If there are enough hospitals to accommodate sick people, then that's the right and perfect time to build a basketball court for basketball fans. But if you know that there isn't enough room to treat sick people, then you must think twice before spending the budget for something else.