No, breaking the MBP while changing it invalidates the warranty:
"Summary
The battery in these MacBook and MacBook Pro models should only be replaced by an Apple Authorized Service Provider. Please do not attempt to replace the battery in your Apple portable computer yourself if it is on this list:
<snip>
Battery replacement should be performed only by an Apple Authorized Service Provider or at an Apple retail store. Attempting a battery replacement yourself could damage your equipment, and the resulting damage is not covered by warranty."
Should, could, and please in the sense of the warranty mean that they'd prefer you don't but cannot lawfully prevent you from doing so, nor arbitrarily invalidate your warranty. Also note that what's not covered is resulting damage. No damage, no hit on the warranty.