Depends on lore. Classical? No boner. World of Darkness Vampire? Yes... Sort of, you can "spend" blood in order to revive human functionality including a boner.
WoD vamps don't really enjoy sex, though. Except Jeannette, but she's explicitly insane. They can do it, but they don't really get anything out of it, except for an opportunity to feed.