Translation with content on my site

Hello, I would like to create a section on my site using PHP to create content that would be translated into Polish and collect statistics regarding quiz entry, answers, etc. is this possible? ( I don't want to use wordpress, moodle etc. or any other LMS)