Absolutely. Consistency, calmness, and patience will be all that you really need, but liver treats will help a great deal.
But at two, your dog isn’t even old!
BTW, we took in several Katrina dogs, including a 2-year-old pit bull who had never been in a house before and was bull-headed, scarred up, and strong to boot. We taught him to pee and poop outside, not to chase cars, to walk on a leash without pulling anyone face first through the mud, to sit, stay, leave it, heel and come, get off the couch, and to wait his turn for food and treats. It took a while to do it all, but he is a wonderfully behaved dog now.