Can I replace my own battery if my trackpad is cracked?

I was wondering if there is any safety issues with this. I was going to just replace the battery, but I figured I might as well replace the track pad too at the same time. If there are any other suggestions, I’m open to it. Thanks for your time and help.

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0