Yes, wearing such a dress is acceptable if the pattern is reserved. Plus, note that this kind of dress won’t be suitable for a formal funeral!