Can I connect two monitors to my computer using an hdmi splitter
HDMI splitters just duplicate the screen (so you'll get two screens showing the exact same thing). If you want to extend your desktop (ie, have both monitors either show up individually on your computer, or have your computer output to a double width screen which the HDMI splitter then splits and displays on half of each additional screen) you'll be facing a lot more problems.
Better off just getting a dual output graphics card, or getting something that supports display port 1.2 (which lets you just chain monitors that also support 1.2 display port daisy chaining all from a single display port outout).
Ref: I'm currently working on a computer with four monitors, all showing up as individual monitors, connected to a single displayport output from my graphics card.