I was very bored.
The short answer is yes and the long answer is basically yes.
I'm going to gloss over what you could possibly mean by AI and instead focus on what AI programs pretty much are:
A mish-mash of algorithms and methods borrowed from mathematics, perhaps more specifically statistics, inserted into a good old-fashioned program.
Let's start ...