Yes, but the extra action allows only one additional weapon attack. For example, a character with a feature like Extra Attack can make two attacks per action, but the extra action granted by Haste only allows for one additional weapon attack.