Theoretically it is possible, if the casino doesn't shuffle, but I don't know if it is something you could learn. Kim Peek, the guy Rainman was based on, had severe brain damage to the cerebellum.
I don't think it's possible to remember every single card in left in the deck, but that's a common misconception. People think you have to recall each and every individual card but rather you're keeping a running count of the values of the cards.
I believe there are better and easier ways of playing blackjack than trying to memorize all the cards in a deck, assuming that was even possible. Find an easier strategy and focus on becoming really good at that.