It is possible to submit the revised paper to the same journal as a new manuscript, but first you should know whether it is possible for the journal to accept your paper if you revise it. Generally speaking, if a journal is really interested in a paper, even if it decides to reject it, it will invite the author to resubmit it with a new contribution. You should read the rejection letter carefully again. If you think journal editors encourage you to revise your manuscript and resubmit it, of course you can try again. However, if the journal is not invited and does not reveal the relevant meaning, it is best to reconsider whether it is really necessary to re-submit.
If the editor shows no interest in your paper, it may be a waste of time to submit the revised version again, and it may be rejected again. In this case, it is better to modify it according to the opinions and then transfer it to other journals. If you have completely rewritten your paper and added a lot of new data and analysis, you can ask the journal if you can resubmit this manuscript as a new contribution.
However, instead of submitting directly and waiting for a reply from the journal, I suggest you make an inquiry before submitting. During the consultation, you will explain that the paper was rejected, but it was revised badly later. I wonder if the journal will consider publishing it. Remember to describe in detail what changes have been made in the paper, how many new data have been added, and whether there are any new conclusions or interpretations. In addition, you should provide the detailed data of the paper for reference before revision.
If the editor thinks it is possible for the magazine to publish the revised article, he will definitely reply to the email. If you receive good news, you can resubmit the representative paper; If the editor thinks the paper is not suitable, he can submit it to other journals, and sometimes the editor will advise the author to contribute to which appropriate journals. If you need to switch to other journals, you can refer to the video from an expert's point of view, and experts will provide skills for choosing the appropriate target journals.