"When I shoot, I inspire." The statement refers to basketball if you are confused. Can that statement be considered as an allusion?

No, the statement "When I shoot, I inspire" does not qualify as an allusion. An allusion is a figure of speech that refers to a well-known person, event, place, or work of art. It requires making a reference or indirect mention to something outside of the immediate context. In the given statement, there is no explicit reference to any specific person, event, or work of art that would make it an allusion.