Yes. Weapons introduced in Undead Nightmare carry over and can be used in the main game.
The expansion was released as standalone content rather than a separate disc, and it shares its asset pool with the base game, which is why the equipment transfers. Once you have access to them, they behave in the standard game exactly as they do in the zombie setting.
If a weapon is not appearing in your inventory, check that the expansion content is actually installed and that you have progressed far enough for the relevant unlock. Some items are tied to story progress rather than being available from the start.