Welcome to Nokia Support Discussions! Here you can share advice and tips with thousands of other Nokia users around the world in English. Many Nokia employees also follow and participate in the discussions, see our guidelines for more information. Everyone can search and read the discussions, but to post your own question or reply to others, simply sign in with your Nokia account. If this is your first time here, you can choose an alias to represent you. And if you don't have a Nokia account yet, please register.
Most likely they will work. Apart from the camera, storage and keyboard, the n97 and 5800 is as identical as possible. I have had both 5800 (twice) and the n97 and I have never encountered issues with using the same apps on both from installing sis files from various sites.
And it never hurts to try out if they will work or not.