No. It’s a form of cheating. AFK players build automatic farms in Minecraft with the help of some mods and script, which is chatting. It's not recommended.