Obviously you've never met State and/or lens then.
Yes, you can do it -- and no, I never said it should follow pure FP principles.