Not on M1 Apple Silicon. So many issues with pyenv on the M1. Brew python works fine natively.
Other replies here appear to assume basic compilation issues, but the issues I've seen on various GitHub projects are mostly related to these more insidious C toolchain challenges. They're not M1-specific, but they are manifesting on M1 machines.
https://github.com/pyenv/pyenv/issues/1643#issuecomment-7293...
For installing Python on the M1 Apple Silicon. This will install x86_64 versions, but those will work just fine.
If you're having trouble installing something with brew on M1, run arch x86_64 brew instead of brew to do a Rosetta installation.