Re: Move file to a folder in the SP library , in a folder where filename and folder name are the same?
Hopefully this is what you're looking for.
For this example, I have the following Library and folders.


See full flow below. I'll go into each of the actions.

When a file is created it triggered when a new file is created in the Inbox folder.

Get files retrieves folders where the name is equal to the name of the file just created.
//FSObjType eq 1 means only return folders (not files)
//FileLeafRef refers to the Name of the folder
FSObjType eq 1 and FileLeafRef eq '@{triggerOutputs()?['body/{Name}']}'

Condition checks to see if one item (folder) was returned from Get files. If true, we go into the Yes branch. The expression used in the condition is:
length(outputs('Get_files_(properties_only)')?['body/value'])

Move file uses the Identifier from When a file is created. And uses the following expression to get the Full Path of the folder. You can choose what you want to do if a file with the same name already exists within the folder.
first(outputs('Get_files_(properties_only)')?['body/value'])?['{FullPath}']

If no folders were found, or if it found more than one folder with that name, it would go into the No branch where you could possibly send an email to yourself/others letting you know the file that was uploaded hasn't been moved.
----------------------------------------------------------------------
If I've answered your question, please mark the post as Solved.
If you like my response, please consider giving it a Thumbs Up.