IANAL. The Wordle game says "Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted" in the source code. Seemed safe, but who knows.
I asked because of what Apple did to Wordle clones. But I now see that may have been primarily done to remove low quality copies spamming the Appstore. More power to you. Your app is fun and painfully enjoyable.