Is it possible to remove the battery from MacBook Pro (A1502) and use in a different MacBook Pro?
Typically, no.  Batteries are not interchangeable.

The exception being that they have both the same model (i.e A1502) and the same EMC number (found on the bottom lid).

Model numbers can be reused from one generation to the next, however EMC numbers are unique manufacturing codes.  If those numbers don’t match, your batteries likely won’t match up