You're going to run into compatibility issues trying that. Its doable for sure but you'll probably have to shoot full manual which is not fun on a modern camera. I've done enough mixing of equipmemt from different eras to learn its really not worth the effort and annoyance.
When using an old F mount lens that has no electronics a modern camera assumes you have no lens at all. Manual shooting only. No light metering, no focus assist, you're entirely on your own.
You can do it, and its worth doing if its what you need to do get a special picture, but its not fun.