The above sentence is correct.Like swimming in pool, swimming in river can be equally easy ..
Swimming, which is a gerund is used for comparison using like.
As long as we are comparing two nouns, like can be used.
The above sentence is correct.Like swimming in pool, swimming in river can be equally easy ..