Of course it could. The physical hardware is only as strong as the operating system written around it. It's the same reason android has such terrible performance with much better specs.
MacBook Pro (13-inch, Late 2012)
2,5 GHz Intel Core i5
8 GB 1600 MHz DDR3
Intel HD Graphics 4000 1536 MB