Yes, provided it still meets the signing and witnessing requirements. A will doesn’t need to be typed, but typed documents are easier to read and less likely to be disputed.