Is the word "shoot" used in the same way in the following two sentences?

Shoot a basket.

Shoot a goal.
the same meaning