Not really*. An automatic weapon on modern kind needs standardisationstandardization, which was taken into use around American civil war. You see the automatic rifle needs precision parts to produce consistent results.
StandardisationStandardization is much harder than youdyou'd think. See medieval manufacturers didntdidn't have access to precision lathes, even of the kind Elisebathian engladEngland had to use (which is why manholes are round since that was the only manufacturing method that was precise/cheap enough to fit them at the time). So first youdyou would have to use a precicionprecision lathe that makes standard componenetscomponents to make a precision lathe that makes standard components to build a precissionprecision lathe. And offcourse youdoff course you'd use this lathe to make cartridges that fit your barrel each and every time. (ah the pain, ultimately youd want to make ammo faster than you shoot)
So first you would need to retool the entire manufacturing industry, break guilds etc. See medieval system was based on artisan skills. HandworkingHandcrafting is their core, the guilds might not look too favorably of demolishing or at least marginalizing them. This would also be somewhat in contradiction to the world view of most of the population.
Then you would need to advance their metallurgy so that they could make steel suitabledrill-bits for the jobtheir lathes. Manly soSo that you could make tool bits forcan start lathing your precision lathesammo, or build punching equipment. etcRemember they needed hundreds or if not thousands of persons to support a knight.
Their metal working skill would quite good. but ill suited for this particular task. They were doing hand/watermill hammering. But given 10 years then why not. Better bring drawings for manufacturing equipment.
Then there's the chemical industry...
* onOn the otherhand you could make something like the repeating crossbows of china, does that count? Woodworking would be much more industrialisisable at the time point.