I don’t know what your local market looks like, but probably. The goal is still an i7 6xxx or i5 8xxx or newer. At least 210W PSU, and find a way to 16gb RAM. SSD is absolutely required. RAM and SSD prices have dramatically fallen in the US at least, not sure about worldwide. The Rx 6400 can be bought new on Amazon, Alibaba, or straight from AMD.
Try to find a mid-high end computer which is several years old and upgrade it. Where I am, you absolutely can not build a computer cheaper than buying a slightly outdated one.