Sure, this is pattern recognition and just part of AI.
Our brains are pattern matching machines, there is no general reasoning without abstraction of patterns, combined with rules and storage that is our 'mental model'.
Cognition and reasoning are the next stage up and there is work on that area e.g https://opencog.org/ this needs more theory but also better processing power, it mainly academics at the moment but money will flow to commercialise/privatise eventually