Yes, in most recipes, they can be used interchangeably. However, do note the flavor nuances and heat levels between the two.