Sure, you can do that... If the second partition has an image or anything on it, then you'll want to delete/erase that file so the second partition is blank. Then, from the config prompt, issue 'partition flash 1'... that should join the two partitions into one so that you can load an image.
Good luck.