How to export WordPress users in discourse?

No. You need a Discourse development environment and to run a ruby script to read the users from the database and create users in Discourse.

To be clear, you want just users and don’t care about your question-and-answer data?

Do you have a budget, or do you want to do this yourself?

Do you care about passwords?