Of course you can. But assembling with wire is easier. The
trouble I suspect is heating both sides of the board
simultaneously such that you can get the solder to flow on
both sides, then overcoming the surface tension of the solder
and getting it to go through the hole.