if you have no bike at all right now, no it is not a good idea.
there are some flatbar roadbikes. cannondale, giant, specialized and others have them. they are not like MTBs or hybrid bikes, because they have road drivetrain and light, low-spoke wheels.
if you already have a road bike, this can be done and it's easiest on older 9spd Shimano because the cable pull ratios are compatible with shimano's MTB levers. sram-equipped road bikes are even easier as there are apex flatbar shifters.
this is a bad idea in general. drop bars handle fine, you probably are just unfamiliar with them. if you ride enough to become acclimated, you will soon see the advantages of having many hand and body positions, compared to one with flatbars.