Yes, if you are happy that the messages have been copied to Local Folders, then you can delete the originals in the Account Inbox.
Maybe a better option is to move them, not copy them, then the original won’t be left behind in the original folder. Saves a step.
Until you are happy with the process, make a backup using Menu > Backup before you delete the originals. That gives you a safety net if you do something wrong.