Group by email instead of section
The answer, unfortunately in your case, is "no". Apple's Mail.app does not have the ability to group maiboxes by account rather than by function.

Any mailboxes other than these "special" ones stored on IMAP servers do get sorted by account, down in the sidebar section where mailboxes that are stored "On My Mac" are listed. 

Thus, if you set up IMAP accounts so that Mail.app does not store "Sent", "Drafts", "Junk" and "Trash" mailboxes on the server but rather stores them "On My Mac", you could sort of simiulate some of the look that you want and those IMAP mailboxes would get listed down with any other IMAP mailboxes that are on the server. However, set up in this way, the functionality of the various menu commands and automatic things that Mail.app does with those folders would not work (well they would "work" but just not using the IMAP mailboxes), and you would have two sets of all these "special" mailboxes listed in the sidebar - those on the servers below and those stored locallay listed above all grouped together in the manner you don't like.